import Cookies from "js-cookie";

const CookiesHelper = {

  TOKEN_KEY : "ad-token",
  getLoginToken:function(){
    return Cookies.get(this.TOKEN_KEY);
  },
  setLoginToken:function(token){
    return Cookies.set(this.TOKEN_KEY, token);
  },
  removeLoginToken:function(){
    return Cookies.remove(this.TOKEN_KEY);
  }

}
export default CookiesHelper;

